package com.heima.service;

import com.heima.common.PageResult;
import com.heima.pojo.dto.PartnerDTO;
import com.heima.pojo.vo.PartnerVO;

public interface PartnerService {
    Boolean savePartner(PartnerDTO partnerDTO);

    PageResult<PartnerVO> page(PartnerDTO partnerDTO);

    PartnerVO getById(Integer id);

    Boolean update(Long id, PartnerDTO partnerDTO);

    Boolean delete(Long id);
}
